// 导入控制面板组件
import { install } from '../helpers';
import ControlPanel from './ControlPanel.vue';

// 组件列表
const TuiGameComponents = {
  'tui-control-panel': ControlPanel
};

// 安装函数
const gameInstall = (app: any) => {
  install(app, TuiGameComponents);
};

// 导出组件和安装函数
export { ControlPanel, gameInstall, TuiGameComponents };

export default {
  gameInstall,
  ...TuiGameComponents
};

// 导出类型
export type { TuiControlPanelProps, TuiControlPanelEmits } from './types';